package com.demo2do.boyle.common.entity.customer;

import com.demo2do.core.utils.Alias;

/**
 * 
 * @author Wilson
 */
@Alias("customerSource")
public enum Source {

    WECHAT("微信", "W"),

    SYSTEM("系统", "S");

    private String description;

    private String alphabet;

    private Source(String description, String alphabet) {
        this.description = description;
        this.alphabet = alphabet;
    }

    public String getDescription() {
        return description;
    }

    public String getAlphabet() {
        return alphabet;
    }

    public String getName() {
        return name();
    }

    @Override
    public String toString() {
        return description;
    }

}
